package com.competition.jingdong;

public class OrderData {
    int problem;
    String userName;
    int orderNo;
    int packageNo;
    String consumeName;
    int skuNo;
    int xStart;
    int yStart;
    int zStart;
    int xEnd;
    int yEnd;
    int zEnd;

    @Override
    public String toString() {
        return problem +
                "," + userName +
                "," + orderNo +
                "," + packageNo +
                "," + consumeName +
                "," + skuNo +
                "," + xStart +
                "," + yStart +
                "," + zStart +
                "," + xEnd +
                "," + yEnd +
                "," + zEnd;
    }

    OrderData(int p, String t, int on, int pn, String cn, int sn, int xs, int ys, int zs, int xe, int ye, int ze)
    {
        problem=p;
        userName=t;
        orderNo=on;
        packageNo=pn;
        consumeName=cn;
        skuNo=sn;
        xStart=xs;
        yStart=ys;
        zStart=zs;
        xEnd=xe;
        yEnd=ye;
        zEnd=ze;
    }
}
